package com.qf.dao;

import com.qf.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface UserDao {


    //根据用户名获取
    @Select("select * from sys_users where username=#{name}")
    List<User> findUserByName(@Param("name") String username);
}
